.pie-chart-card {
  margin-top: 16px;

  .ant-card-body {
    padding: 16px 20px 20px;
  }

  .pie-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 100%;

    svg {
      display: block;
      filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.04));
      width: 180px;
      height: 180px;
    }

    .pie-legend {
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 8px;

      .legend-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 10px;
        border-radius: 6px;
        transition: all 0.3s ease;
        cursor: pointer;

        &:hover {
          background: #f5f7fa;
          transform: translateX(4px);
        }

        .legend-color {
          width: 14px;
          height: 14px;
          border-radius: 3px;
          box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .legend-label {
          flex: 1;
          font-size: 13px;
          color: #595959;
          font-weight: 500;
        }

        .legend-value {
          font-size: 15px;
          font-weight: 600;
          color: #262626;
        }
      }
    }
  }
}
